-- GENERATED SPELL FOR [Scalded Basilisk] --


function spell0_20925(pUnit, Event) --@Heat Wave,Self--
pUnit:FullCastSpellOnTarget(35236,pUnit)
pUnit:RegisterEvent('Sorts_20925', 9000, 1)
end

function spell1_20925(pUnit, Event) --@Threshalisk Charge,n/a--
pUnit:FullCastSpellOnTarget(35385,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20925', 606, 1)
end

function Sorts_20925(pUnit, Event)
local choix_sorts_20925 = math.random(0, 1)
if choix_sorts_20925 == 0 then
pUnit:RegisterEvent('spell0_20925', 1, 1)
end
if choix_sorts_20925 == 1 then
pUnit:RegisterEvent('spell1_20925', 1, 1)
end
end

function mob20925_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20925', math.random(1500, 3000), 1)
end

function mob20925_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20925_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20925_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20925, 1, 'mob20925_Action')
RegisterUnitEvent(20925, 2, 'mob20925_Leave')
RegisterUnitEvent(20925, 3, 'mob20925_Kill')
RegisterUnitEvent(20925, 4, 'mob20925_Die')
